package com.industry.framework.common.oss.model;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author jsy
 * @description:文件上传信息，查询信息
 * @date 2025/1/18 01:53
 */
@Data
@Accessors(chain = true)
public class FileUploadInfo {
    private String md5;

    private String uploadId;

    private String originFileName;

    private String url;

    private String object;

    private String type;

    private Long size;

    private Integer chunkCount;

    private Long chunkSize;

    private String contentType;

    // listParts 从 1 开始，前端需要上传的分片索引+1
    private List<Integer> listParts;

}

